ATI radeon fails with "iommu=soft swiotlb=force" (seen on RV730/RV740 and RS780/RS800) . Test commited for JF
Done via "git pull" for another close enough "linux-2.6-xen" clone :-
# git pull # git checkout xen/master # git log
commit 2a65ac0eea618596fb19a4ee36f8a4463aadad3d
Merge: 4907e6c... f68aa6d...
Author: Jeremy Fitzhardinge <[email protected]> Date: Fri Oct 2 11:42:04 2009 -0700
Merge branch 'xen/dom0/drm' into xen/master
* xen/dom0/drm:
drm: free vmalloc dma memory properly
drm: make sure all pages in vmalloc area are really DMA-ready
drm: recompute vma->vm_page_prot after changing vm_flags
commit f68aa6d4b10c84e5674aa4301623616f72e5b8a7
Author: Jeremy Fitzhardinge <[email protected]> Date: Fri Oct 2 11:31:39 2009 -0700
drm: free vmalloc dma memory properly
Having allocated pages with drm_alloc_coherent, we need to free them with drm_free_coherent. We're still not preserving the bus addresses so we're hoping the backend dma_ops implementation can cope with the ones we're making up.
Derived from patch by Konrad Rzeszutek Wilk <[email protected]>
commit 93e7c3850b8431e19c9cba91413066bfd2360671
Author: Jeremy Fitzhardinge <[email protected]> Date: Fri Oct 2 11:16:09 2009 -0700
drm: make sure all pages in vmalloc area are really DMA-ready
Under Xen, vmalloc_32() isn't guaranteed to return pages which are really under 4G in machine physical addresses (only in virtual pseudo-physical addresses). To work around this, implement a vmalloc variant which allocates each page with dma_alloc_coherent() to guarantee that each page is suitable for the device in question.
. . . . . . .
Boris
--- On Fri, 10/2/09, Jeremy Fitzhardinge <[email protected]> wrote:
From: Jeremy Fitzhardinge <[email protected]>
Subject: Re: [Xen-devel] Re: ATI radeon fails with "iommu=soft swiotlb=force" (seen on RV730/RV740 and RS780/RS800)
To: "Boris Derzhavets" <[email protected]>
Cc: [email protected], [email protected], [email protected], "Konrad Rzeszutek Wilk" <[email protected]>
Date: Friday, October 2, 2009, 2:42 PM
Quoted 6 lines · Boris Derzhavets
Jeremy,
Please, be aware of bugzilla.xensource.com [1519] the most recent entries :-
Ah, OK. I pushed a variant of Konrad's patches. Could you try them out?
Thanks,
J
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 5 lines · Boris Derzhavets
Done via "git pull" for another close enough "linux-2.6-xen" clone :-
# git pull # git checkout xen/master # git log
So you're saying it works? I didn't see anything bad in the dmesg output.
If it is working, what does /proc/mtrr say?
Thanks,
J
Yes, it works.
root@ServerXen35:~# cat /proc/mtrr reg00: base=0x0d0000000 ( 3328MB), size= 256MB, count=1: uncachable reg01: base=0x0e0000000 ( 3584MB), size= 512MB, count=1: uncachable reg02: base=0x000000000 ( 0MB), size= 8192MB, count=1: write-back reg03: base=0x200000000 ( 8192MB), size= 512MB, count=1: write-back reg04: base=0x220000000 ( 8704MB), size= 256MB, count=1: write-back
Boris.
--- On Fri, 10/2/09, Jeremy Fitzhardinge <[email protected]> wrote:
From: Jeremy Fitzhardinge <[email protected]>
Subject: Re: [Xen-devel] Re: ATI radeon fails with "iommu=soft swiotlb=force" (seen on RV730/RV740 and RS780/RS800) . Test commited for JF
To: "Boris Derzhavets" <[email protected]>
Cc: [email protected], [email protected], [email protected], "Konrad Rzeszutek Wilk" <[email protected]>
Date: Friday, October 2, 2009, 5:07 PM
Quoted 5 lines · Boris Derzhavets
Done via "git pull" for another close enough "linux-2.6-xen" clone :-
# git pull # git checkout xen/master # git log
So you're saying it works? I didn't see anything bad in the dmesg output.
If it is working, what does /proc/mtrr say?
Thanks,
J
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Re: Re: ATI radeon fails with "iommu=soft swiotlb=force" (seen on RV730/RV740 and RS780/RS800) . DRM for Radeon 4650 on F11
I've also attempted to activate DRM for Radeon in kernel 2.6.31.1 ( the most recent) under Xen 3.4.1 & Libvirt 0.7.1-8 on top of F11 and lost GDM login at all. Switching /etc/inittab to initdefault 3 also doesn't allow to login in text mode.
Disabling DRM ( rescue mode kernel rebuild) brings things back to usual behaviour. X-Server just starts , no matter of DRM status ( vs Ubuntu 9.04 Server)
Boris.
--- On Sat, 10/3/09, Boris Derzhavets <[email protected]> wrote:
From: Boris Derzhavets <[email protected]>
Subject: Re: [Xen-devel] Re: ATI radeon fails with "iommu=soft swiotlb=force" (seen on RV730/RV740 and RS780/RS800) . Test commited for JF
To: "Jeremy Fitzhardinge" <[email protected]>
Cc: [email protected], [email protected], [email protected], "Konrad Rzeszutek Wilk" <[email protected]>
Date: Saturday, October 3, 2009, 3:20 AM
Yes, it works.
root@ServerXen35:~# cat /proc/mtrr reg00: base=0x0d0000000 ( 3328MB), size= 256MB, count=1: uncachable reg01: base=0x0e0000000 ( 3584MB), size= 512MB, count=1: uncachable reg02: base=0x000000000 ( 0MB), size= 8192MB, count=1: write-back reg03: base=0x200000000 ( 8192MB), size= 512MB, count=1: write-back reg04: base=0x220000000 ( 8704MB), size= 256MB, count=1: write-back
Boris.
--- On Fri, 10/2/09, Jeremy Fitzhardinge <[email protected]> wrote:
From: Jeremy Fitzhardinge <[email protected]>
Subject: Re: [Xen-devel] Re: ATI radeon fails with "iommu=soft swiotlb=force" (seen on RV730/RV740 and RS780/RS800) . Test commited for JF
To: "Boris
Derzhavets" <[email protected]>
Cc: [email protected], [email protected], [email protected], "Konrad Rzeszutek Wilk" <[email protected]>
Date: Friday, October 2, 2009, 5:07 PM
Quoted 5 lines · Boris Derzhavets
Done via "git pull" for another close enough "linux-2.6-xen" clone :-
# git pull # git checkout xen/master # git log
So you're saying it works? I didn't see anything bad in the dmesg output.
If it is working, what does /proc/mtrr say?
Thanks,
J
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
-----Inline Attachment Follows-----
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel